import { $t } from "@/plugins/i18n";
const { VITE_HIDE_HOME } = import.meta.env;
const Layout = () => import("@/layout/index.vue");

export default {
  path: "/",
  name: "Home",
  component: Layout,
  redirect: "/user/index",
  meta: {
    icon: "ep:home-filled",
    title: $t("menus.pureHome"),
    rank: 0
  },
  children: [
    {
      path: "/user/index",
      name: "User",
      component: () => import("@/views/user/index.vue"),
      meta: {
        title: $t("menus.pureUser"),
        icon: "ep:message-box"
      }
    },
    // {
    //   path: "/hqgiamyourfather",
    //   name: "Hqgiamyourfather",
    //   component: () => import("@/views/user/usermid.vue"),
    //   meta: {
    //     title: $t("menus.pureUserMid"),
    //     icon: "ep:message-box",
    //     showLink: false,
    //     showParent: false
    //   }
    // }
  ]
} satisfies RouteConfigsTable;
